-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGNITE-24239 Create a reproducer for IGNITE-23588 #5065
Conversation
Signed-off-by: ibessonov <[email protected]>
Signed-off-by: ibessonov <[email protected]>
Signed-off-by: ibessonov <[email protected]>
...Test/java/org/apache/ignite/internal/pagememory/tree/util/SequencedOffheapReadWriteLock.java
Outdated
Show resolved
Hide resolved
...Test/java/org/apache/ignite/internal/pagememory/tree/util/SequencedOffheapReadWriteLock.java
Outdated
Show resolved
Hide resolved
* Constructor. | ||
*/ | ||
public SequencedOffheapReadWriteLock() { | ||
super(128); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that Persistent regions use hard-coded 128, though volatile memory uses system property. Is it intented? Could we make a constructor with this logic? So we don't pass magic "128" everywhere. Or we could make a TestOnly constructor without args using 128
/** Concurrency level. */
private final int lockConcLvl = IgniteSystemProperties.getInteger(
IGNITE_OFFHEAP_LOCK_CONCURRENCY_LEVEL,
Integer.highestOneBit(Runtime.getRuntime().availableProcessors() * 4)
);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in this PR :)
...mory/src/integrationTest/java/org/apache/ignite/internal/pagememory/tree/util/Sequencer.java
Outdated
Show resolved
Hide resolved
Signed-off-by: ibessonov <[email protected]>
Signed-off-by: ibessonov <[email protected]>
Signed-off-by: ibessonov <[email protected]>
Signed-off-by: ibessonov <[email protected]>
Signed-off-by: ibessonov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
https://issues.apache.org/jira/browse/IGNITE-24239
Thank you for submitting the pull request.
To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:
The Review Checklist
- There is a single JIRA ticket related to the pull request.
- The web-link to the pull request is attached to the JIRA ticket.
- The JIRA ticket has the Patch Available state.
- The description of the JIRA ticket explains WHAT was made, WHY and HOW.
- The pull request title is treated as the final commit message. The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
Notes